<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Rotator extends CI_Controller {
	
	public function __construct()
	{
		parent::__construct();
		$this->load->model('rotator_model');
		$this->load->helper('url');
	}
	
	public function index()
	{
		$data['result'] = $this->rotator_model->get();
		
		$this->load->view('rotator', $data);
	}
}

/* End of file rotator.php */
/* Location: ./application/controllers/rotator.php */